package com.spice.service.entity.form;

import com.spice.common.constant.PermissionConstant;
import com.spice.service.entity.pojo.FileInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
//@JsonInclude(JsonInclude.Include.NON_NULL)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "编辑文档格式")
public class EditDocumentForm {
    @ApiModelProperty(value = "文档id（删除时使用）", example = "123456")
    private Long id;

    @ApiModelProperty(value = "文档类型（保存时使用）", example = PermissionConstant.SCIENTIFIC_RESEARCH_DOC)
    private String type;

    @ApiModelProperty(value = "细节描述（保存时使用）", example = "这篇文档是关于辣椒的")
    private String details;

    @ApiModelProperty(value = "文件信息")
    private FileInfo fileInfo;
}
